package com.opennews.openplatform.dto.join.account.group.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class SendJoinAccountGroupRequestDto {
    @NotBlank(message = "receiverId can't be blank")
    private String receiverId;

    @NotEmpty(message = "roles can't be empty")
    private List<String> roles;
}
